/**
 * Copyright © 2016-2025 The Thingsboard Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import 'constants';

:host {
  .content {
    font-size: 18px;
    line-height: 28px;
  }

  .info {
    color: #75767C;
    margin-bottom: 0 !important;
  }

  .info-container {
    @media #{$mat-gt-xmd} {
      width: 50%;
    }
  }

  a {
    width: max-content;
  }

  .version {
    font-size: 20px;
    line-height: 24px;
    color: rgba(0,0,0,0.76);
  }

  .guides-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;

    .guide {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 16px;
      height: 185px;
      width: 185px;
      margin: 10px;
      cursor: pointer;
      border-radius: 8px;
      background: rgba(0,0,0,0.03);

      span {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.54);
      }

      img {
        max-width: 64px;
        max-height: 64px;
        object-fit: cover;
      }

      .doc-title{
        font-weight: 500;
        color: rgba(0,0,0,0.76);
        text-align: center;
      }

      &:hover {
        background: rgba(0,0,0,0.06);
      }

      &:active {
        background: rgba(0,0,0,0.1);
      }
    }
  }

  ::ng-deep{
    .mat-mdc-card {
      margin: 8px;
    }

    .mat-mdc-card-content {
      margin-top: 16px;
    }
  }
}
